[Testing] Fix for flaky test(EntrySelectionLengthRuntimeUpdate) in CI #31793
Merged
StephaneDelcroix merged 3 commits intodotnet:mainfrom Oct 13, 2025
Merged
[Testing] Fix for flaky test(EntrySelectionLengthRuntimeUpdate) in CI #31793StephaneDelcroix merged 3 commits intodotnet:mainfrom
StephaneDelcroix merged 3 commits intodotnet:mainfrom
Conversation
Contributor
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a flaky test by improving UI consistency and adjusting screenshot verification for the Entry selection length test on iOS. The changes ensure more reliable test execution in CI environments.
- Added horizontal text alignment centering for iOS to improve visual consistency
- Updated screenshot cropping parameters to accommodate the UI layout changes
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Issue18443.xaml | Added iOS-specific horizontal text alignment to center for better UI consistency |
| Issue18443.cs | Updated iOS screenshot verification crop bottom value from 1080 to 1140 pixels |
jsuarezruiz
approved these changes
Oct 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request makes a minor update to the test case for Issue18443, specifically improving the UI consistency for iOS and updating the related screenshot verification in the test code.
UI consistency improvements:
Entrycontrol inIssue18443.xamlnow setsHorizontalTextAlignmenttoCenterfor iOS, ensuring the text is centered on that platform.Test adjustments:
Issue18443.csis updated to crop the bottom at 1140 pixels instead of 1080 for iOS, reflecting the UI change.